package com.elephant.createBan.factoryMethodCreateBean;

/**
 * @author 林
 * @create 2025-06-16 16:45
 */
//静态工厂方法

public class PersonStaticFactoryMethod {
	public static Person createPerson(String name){
		Person person = new Person();
		person.setId("1");
		person.setName(name);
		return person;
	}

}
